package com.zis.gateway.client;

import com.alibaba.fastjson.JSONObject;
import com.zis.starter.core.ResponseEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "sys-security")
public interface VerifyClient {

    @RequestMapping(value = "/verify/token/{token}", method = RequestMethod.GET)
    ResponseEntity tokenVerify(@PathVariable("token") String token) throws Exception;
}
